package com.example;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.stream.annotation.EnableBinding;
import org.springframework.cloud.stream.messaging.Sink;
import org.springframework.cloud.stream.messaging.Source;

@SpringBootApplication
@EnableBinding({ Source.class, Sink.class }) // 使用Binder发送消息
public class StreamRocketmqBinder {

	public static void main(String[] args) {
		SpringApplication.run(StreamRocketmqBinder.class, args);
	}

}
